package cn.wolfcode.luowowo.member.service;

import cn.wolfcode.luowowo.common.exception.DisableException;
import cn.wolfcode.luowowo.member.domain.UserInfo;

import java.util.List;

/**
 * Created by Administrator on 2019/7/5.
 */
public interface IUserInfoService {
    UserInfo get(Long id);

    boolean checkPhone(String phone) throws DisableException;

    void userRegist(String phone, String nickname, String password, String rpassword, String verifyCode) throws DisableException;
    /**
     *发送短信验证码
     */
    void sendVerifyCode(String phone) throws DisableException;


    String checkLogin(String username, String password) throws DisableException;

    List<UserInfo> list();
}
